/*
 * Created on Nov 3, 2003
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package org.vectrics.recruiter.struts;


import org.vectrics.hibernate.ThreadProperties;
import org.vectrics.recruiter.config.RecruitConfig;
import org.vectrics.struts.Request;
import org.vectrics.user.web.struts.UserProfileForm;


public class UserLoginProfileForm extends UserProfileForm {
	
	public static final long serialVersionUID = 24563342372124L;

	protected void onError(Request request) {
	}

	protected boolean getPasswordRequired() {
		return(true);
	}

	protected boolean getNewUserNameRequired() {
		return(false);
	}

	protected boolean getUserNameRequired() {
		return(true);
	}

	protected boolean getNameRequired() {
		return(true);
	}

	protected boolean getEmailRequired() {
		return(false);
	}

	protected boolean getPasswordHintRequired() {
		return(RecruitConfig.getRecruitInstance().getAllowPasswordEmail(ThreadProperties.getDomain()));
	}
	

	protected boolean getCompanyRequired() {
		return(false);
	}
	
}
